package com.inspur.ourhis_afterend.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("DEPARTMENT")
public class Dept {

    @TableId(value = "departid", type = IdType.AUTO)
    private String departId;

    private String name;

    private Date createdate;

    // 创建人id
    private String userid;
}
